<div class="layout grid-s190m0e240 fs fs1">	
	<div class="col-main">
		<div class="main-wrap">
			<#assign contentletAPI = variableMacroHelper.contentletAPI />
			<#assign sliderContentlets = contentletAPI.getContentContainerListByContainerInFolder(currentPage.folder.inode, 8, 5) />

			<div id="J_ComboSlide" class="combo-slide" style="position: relative;">
			<ul class="slide-list" style="position: absolute; top: -870px;">
				<#list sliderContentlets as content>
				<li data-resid="${content.contentletWrapper.inode}" class="J_DirectPromo" id="J_DirectPromo_${content.contentletWrapper.inode}" style="display: block;">
					<a title="${content.contentletWrapper.title}" href="${currentSite.schemaName}${currentPage.folder.itemPath}?inode=${content.contentletWrapper.inode}&con=8">
						<img width="540" height="290" alt="${content.contentletWrapper.friendlyName}" src="${currentSite.schemaName}${content.contentContainer.fileAsset.path}">
					</a>
				</li>
				</#list>
			</ul>
			<ul class="tb-slide-triggers">
				<#list sliderContentlets as content>
					<li class="">${content_index + 1}</li>
				</#list>
			</ul>
			</div>		
		</div>
	</div>
	
	<script>
		KISSY.ready(function(S) {
			<#if (sliderContentlets?size > 0)>
			var s = S.Slide('#J_ComboSlide', {
				navCls: 'tb-slide-triggers',
				contentCls: 'slide-list',
				activeTriggerCls: 'selected',
				easing: "easeOutStrong",
				effect: 'scrolly',
				activeIndex: 1
			});
			</#if>
			new MFP.Category("#J_Category",
				{view:"#J_SubCategory",subViews:"div.J_SubViewItem",triggers:"li.J_MenuItem",
				dataUrl:"${currentSite.schemaName}/page/ajax/hd-category"});
		});
	</script>

	<#assign folderAPI = variableMacroHelper.folderAPI />

	<#assign folders = folderAPI.getNavigation(currentSite.inode, 1, 3, currentPage.folder.path) />

	<!-- 分类导航 -->
	<div class="col-sub">
		<div class="mall-category" id="J_Category" style="z-index: 15;">
			<h2 class="title">
				<a target="_blank" href="${springMacroRequestContext.contextPath}/shop/category">所有商品分类</a>
			</h2>
			<div class="entity">
				<div class="items">
					<ul class="item"> 
						<#list folders.wrappedChildren as folder>
							<li class="J_MenuItem">
								<a href="${springMacroRequestContext.contextPath}${currentPage.folder.listPath}?inode=${folder.wrappedNode.inode}" class="c1"><s></s><i></i> ${folder.wrappedNode.title?default("")}</a>
							</li>
						</#list>																					
					</ul>
				</div>
			</div>

		</div>
	</div>
	<!-- 每日推荐 -->
	<div class="col-extra" style="float:right">
		<div class="dailyHot">
			<#assign container = contentletAPI.getDailyHotContainer() />
			<#if container??>

			<h3 class="shd">
				<span title="${container.title?default("")}" class="bg day d${container.inode - 1}">${container.title?default("")}</span>
				<span class="title">${container.friendlyName?default("")}</span>
			</h3>
			<ul>
				<#assign dailyHots = contentletAPI.getContentContainerListByContainerInFolder(currentPage.folder.inode, container.inode?number?long, 5) />
				<#list dailyHots as content>
				<li>
					<div class="hot-box">
						<a href="${currentSite.schemaName}${currentPage.folder.itemPath}?inode=${content.contentletWrapper.inode}&con=${container.inode}">
						<img width="50" height="40" class="hot-img" alt="${content.contentletWrapper.title}" src="${currentSite.schemaName}${content.contentContainer.fileAsset.path}">
						<h4>${content.contentletWrapper.title?default("")}</h4>
						<p>${content.contentletWrapper.friendlyName?default("")}</p>
						</a>
					</div>
				</li>
				</#list>
			</ul>
			</#if>
		</div>	    
	</div>
</div>